package com.medical.client.model;

import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;

/**
 * @ClassName: Personal
 * @Description: TODO
 * @Author: JackyLee
 * @Date: 2024/5/28 16:16
 **/
public class UnitTable {
    private String unitno;
    private String unitname;
    private final BooleanProperty selected = new SimpleBooleanProperty();


    public BooleanProperty selectedProperty() {
        return selected;
    }

    public BooleanProperty setSelectedProperty(Boolean sd) {
        selected.set(sd);
        return selected;
    }

    public boolean isSelected() {
        return selected.get();
    }

    public void setSelected(boolean selected) {
        this.selected.set(selected);
    }


    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getUnitno() {
        return unitno;
    }

    public void setUnitno(String unitno) {
        this.unitno = unitno;
    }

}
